import threading
import time


def todo_func():
	n = 10
	while (n):
		print(f'thread runing,{n}')
		time.sleep(1)
		n -= 1


my_thread = threading.Thread(target=todo_func())
my_thread.start()
my_thread.join()
